﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XsqTech.SmartOA.Domain.Table
{
    public class Menu:Audit
    {
        [Key]
        public Guid Id { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        [MaxLength(100)]
        [Required]
        public string MenuName { get; set; }
        /// <summary>
        /// 自定义图标
        /// </summary>
        [MaxLength(100)]
        [Required]
        public string Icon { get; set; }
        /// <summary>
        /// 路由
        /// </summary>
        [MaxLength(100)]
        [Required]
        public string Index { get; set; }
        /// <summary>
        /// 批量删除
        /// </summary>
        public int DeleteId { get; set; }
        public Guid PId { get; set; }
        /// <summary>
        /// 排序号(越小优先级越高）
        /// </summary>
        public int SortNo { get; set; }
    }
}
